package com.pan.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Schema(description = "部门信息")
public class Deptno implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "部门号，与部门名对应", example = "1")
    private Integer deptno;
    @Schema(description = "部门名，与部门号对应", example = "研发部门")
    private String danme;
    @Schema(description = "部门位置", example = "波士顿")
    private String loc;
    @Schema(description = "部门权限", example = "全部")
    private String aty;
}
